#pragma once
#include "stdafx.h"
#include "Stroke.h"
class DynamicRenderer
{
public:
	DynamicRenderer();
	~DynamicRenderer();

	bool Init(int w,int h);
	void Show(bool bShow=true);
	void UpdateData(int x,int y);
	void Draw(sf::RenderTarget& target, sf::RenderStates state);
	Stroke& GetStroke() { return stroke; }
private:
	int m_nWidth, m_nHeight;
	int m_nXCoord, m_nYCoord;
	bool bShow;
	Stroke stroke;
};
